<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta charset="UTF-8">

    <title>峰之杰 - 专注智能家居，引领万物互联</title>

    <include file="public/head"/>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <meta content="telephone=no" name="format-detection">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="renderer" content="webkit">
    <script type="text/javascript">
        document.documentElement.style.fontSize = document.documentElement.clientWidth / 6.4 + 'px';
    </script>
</head>
<body>
<include file="public/nav"/>
<php>$product['more']=json_decode($product['more'],true);</php>
<section class="product_title clear mt " style='background: url("/public/upload/{$product['more']['thumbnail']}") no-repeat center center;background-size: 100% 100%;'>
    <div class="pb_container">
        <p style="color: #12cd3e">{$product.post_title}</p>

        <a href="{:cmf_url('Article/index',array('id'=>$product.id))}">点击查看</a>

    </div>
</section>

<!-- 分类开始 -->
<section class="select_banner">
    <ul>
        <li>
            <a href="javascript:void(0)" class="curr" id="all">
                <div class="first_item">
                    <p>所有<br/>产品</p>
                </div>
            </a>
        </li>
 <volist name="categorys" id="vo">
     <php>$k=$i+1;$vo['more']=json_decode($vo['more'],true);</php>
        <li>
            <a href="{:cmf_url('List/index',array('id'=>$vo.id))}" data-id="4">
                <div class="other_item">
                    <img alt="" src="/public/upload/{$vo['more']['thumbnail']}" class="default">
                    <div class="item_title">{$vo.name}</div>
                </div>
            </a>
        </li>
 </volist>
    </ul>
</section>
<!-- 分类结束 -->
<section class="product_content">

    <div class="pc_block clear" id="4">

        <div class="pb_title">{$category.name}</div>
<volist name="list" id="vo">
    <php>$k=$i+1;$vo['more']=json_decode($vo['more'],true);</php>
        <a href="{:cmf_url('Article/index',array('id'=>$vo.post_id))}">
            <img alt="{$vo.post_title}" src="/public/upload/{$vo['more']['thumbnail']}">
            <p>{$vo.post_title}</p>
            <p></p>
        </a>
</volist>
    </div>
    </div>

</section>

<html>

<include file="public/footer"/>
<script type="text/javascript" src='/public/themes/mobile/public/assets/js/jquery.min.js'></script>

<script type="text/javascript" src='/public/themes/mobile/public/assets/js/amazeui.min.js'></script>

<script type="text/javascript" src='/public/themes/mobile/public/assets/js/mobile_comment.js'></script>

<script type="text/javascript" src='/public/themes/mobile/public/assets/js/idangerous.swiper.min.js'></script>

<script type="text/javascript" src='/public/themes/mobile/public/assets/js/idangerous.swiper.progress.min.js'></script>

<script type="text/javascript" src='/public/themes/mobile/public/assets/js/apple.js'></script>

<script type="text/javascript" src="'/public/themes/mobile/public/assets/js/jweixin-1.0.0.js"></script>
<script>

    // 修改之后的js
    $(function() {
        var mySwiper2 = $('.swiper-container2').swiper({
            //      loop: true,
            //其他设置
            // pagination: '.swiper-pagination',
            //      paginationClickable: true,
            centeredSlides: true,
            slidesPerView: 'auto'
        });
        $('.slide2').click(function(){location.href='./product/jirui_message.html'});
        setTimeout(function() {
            $('.first-swiper-wrapper').css('display','block');
        }, 10);
        $(".last").css('display','none');
        $(".btn1").click(function() {
            $(".first").css('display', 'none');
            $(".last").css('display', 'block');
            var fourthFloorTop = $('.fourthFloor').offset().top;
            $('body').scrollTop(fourthFloorTop);
        });

        $(".btn2").click(function() {
            $(".last").css('display', 'none');
            $(".first").css('display', 'block');
        });
    });
</script>
